<?php

use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Schedule;

Artisan::command('inspire', function () {
    $name = $this->ask('What is your name?', 'zgj');
    $ages = $this->choice('What is your age?', [18, 20, 22], 20);
    var_dump($name, $ages);
    $this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote')->hourly();

Schedule::command('inspire')->withoutOverlapping();